package com.mall.users.service;

import com.mall.model.domain.UmsResourceCategory;
import com.mall.users.mapper.UmsResourceCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsResourceCategoryService {

    @Autowired
    private UmsResourceCategoryMapper umsResourceCategoryMapper;

    public List<UmsResourceCategory> listAll() {
        return umsResourceCategoryMapper.selectAll();
    }
}
